<?php $this->beginContent("/layouts/main");?>
	<?php 
			$this->widget('ext.jqueryUi.jqueryUiWidget',array(
				'theme'=>'ui-lightness',				
			));
			

	?>	
	<div id="sidebar" class="span-6 colborder">
		<script type="text/javascript">
			$(function(){
				$("#accordion").accordion({ 
					header: "h3",
					autoHeight: true, 
					active:<?php echo Category::model()->activeAccordion($this->id);?>
				});
			});
		</script>
		<div id="accordion">
			<div>
				<h3><a href="#">视频</a></h3>
				<div>
					<div class="portlet clear"  style="top:-20px;position:relative;">
						<div class="portlet-content">
							<hr />
							<?php echo CHtml::link(Yii::t('zh_cn','List Video'),array('video/index'));?><br />
							<?php echo CHtml::link(Yii::t('zh_cn','Create Video'),array('video/create'));?>
						</div>
					</div>
				</div>
			</div>
			<div>
				<h3><a href="#">音乐</a></h3>
				<div>
					<div class="portlet-content">
						<?php echo CHtml::link(Yii::t('zh_cn','List Audio'),array('audio/index'));?><br />
						<?php echo CHtml::link(Yii::t('zh_cn','Create Audio'),array('audio/create'));?>
					</div>				
				</div>
			</div>
			<div>
				<h3><a href="#">图库</a></h3>
				<div>
					<div class="portlet-content">
						<?php echo CHtml::link(Yii::t('zh_cn','List Gallery'),array('gallery/index'));?><br />
						<?php echo CHtml::link(Yii::t('zh_cn','Create Gallery'),array('gallery/create'));?>
					</div>					
				</div>
			</div>
			<div>
				<h3><a href="#">文件</a></h3>
				<div>
		   			<div class="portlet-content">
						<?php echo CHtml::link(Yii::t('zh_cn','List Files'),array('file/index'));?><br />
						<?php echo CHtml::link(Yii::t('zh_cn','Add Files'),array('file/create'));?>
					</div>					
				</div>
			</div>
		</div>
	</div>
    <div id="content">
		<?php echo $content;?>
	</div>
<?php $this->endContent();?>
